Hood College
2025-02-26
Most of what we’ll discuss today stemmed from a Posit lesson on sharing Shiny apps. Gemini Code Assist was also active during the development of these materials, and some text was generated with its assistance.
Now that we have a Shiny app, how do we share it?
The Posit team has developed a number of avenues to share Shiny apps
runURLrunGitHubrunGistshiny::runUrl will handle the downloading and running of the app from a weblink to a zip file (‘.zip’, ‘.gz’, ‘.tar.gz’) containing our code:
When given a GitHub repository for a shiny app, shiny::runGitHub will download the relevant files from the provided GitHub repo and run a local copy of the app.
The same thing can be done with a GitHub Gist.
My ShinyHood deployment can be viewed here.
We will walk through the details in this week’s exercise.